Skip to content

Conversation

yarinvak
Copy link
Member

@yarinvak yarinvak commented Aug 14, 2019

When someone uses @GraphQLDeprecate without supplying a reason, it passes an empty string, which graphiql for some reason does not parse and treats the field as a non-deprecated field.
So now the default value is Deprecated even if no reason been supplied to the annotation (same as @Deprecated annotation)

fixing #210

yarinvak added 4 commits July 9, 2019 16:05
…t to "Deprecated" so graphiql will be able to parse it and present it as a deprecated field
…t to "Deprecated" so graphiql will be able to parse it and present it as a deprecated field
@yarinvak yarinvak added this to the v7.1 milestone Aug 14, 2019
@yarinvak yarinvak merged commit 1230872 into Enigmatis:development Aug 14, 2019
@yarinvak yarinvak deleted the graphqldeprecated-refactoring branch January 17, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant